	package com.twl.app.base.entity;

import java.io.Serializable; 
 
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.twl.common.entity.Customer;

@SuppressWarnings("serial")
@Entity
@org.hibernate.annotations.Entity(dynamicInsert = true, dynamicUpdate = true)
@Table(name = "Tradecost")
@SequenceGenerator(name = "instance_sequence", sequenceName = "seq_Tradecost_id", allocationSize = 1)
public class Tradecost extends Customer implements Serializable {

	private String staffmoney;   //员工基本工资
	private Double outforworkint; //月应出勤天数
	private Double outint;	//月出勤天数
	private String tradecostdou;  //工会费 
	private String datemoney; //日期
	private String desKey;// 密钥
	
	@Column(name = "Des_Key" )
	public String getDesKey() {
		return desKey;
	}

	public void setDesKey(String desKey) {
		this.desKey = desKey;
	}
	public Tradecost(String staffmoney, Double outforworkint,
			Double outint, String tradecostdou, String datemoney) {
		super();
		this.staffmoney = staffmoney;
		this.outforworkint = outforworkint;
		this.outint = outint;
		this.tradecostdou = tradecostdou;
		this.datemoney = datemoney;
	}

	public Tradecost() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Column(name="staffmoney")
	public String getStaffmoney() {
		return staffmoney;
	}

	public void setStaffmoney(String staffmoney) {
		this.staffmoney = staffmoney;
	}
	@Column(name="outforworkint")
	public Double getOutforworkint() {
		return outforworkint;
	}
	public void setOutforworkint(Double outforworkint) {
		this.outforworkint = outforworkint;
	}
	@Column(name="outint")
	public Double getOutint() {
		return outint;
	}
	public void setOutint(Double outint) {
		this.outint = outint;
	}
	@Column(name="tradecostdou")
	public String getTradecostdou() {
		return tradecostdou;
	}
	
	public void setTradecostdou(String tradecostdou) {
		this.tradecostdou = tradecostdou;
	}
	@Column(name="datemoney")
	public String getDatemoney() {
		return datemoney;
	}

	public void setDatemoney(String datemoney) {
		this.datemoney = datemoney;
	}

}
